<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录页面</title>
</head>
<body>
<!-- <script type="text/javascript">
    	var msg='${msg}';
    	if(msg==null||msg==""){
    		
    	}else{
    		alert(msg);
    	}
</script> -->
	<!-- <form action="selectUsers" method="post" >
		<input type="hidden" name="id"  />
	    用户名：<input type="username" name="username" /><br>
	    密码：<input type="password" name="password" /><br>
	  email：<input type="email" name="email" /><br>  
	    <input type="submit" value="登录">
	    <input type="button" value="注册" onclick="window.location.href='register.jsp'">
            </tr>
	</form> -->
	
	<p style="color:red">${msg}</p><hr>
	用户登录<br>
	<form action="login" method="post">
				<input type="hidden" name="id"  />
		用户名：<input type="username" name="username" /><br>
		密码：<input type="password" name="password" /><br>
		<input type="submit" value="登录"><br>
		<input type="button" value="注册" onclick="window.location.href='register2.jsp'">
	</form><hr>
</body>
</html>